package com.qidian.permission.service;

import com.qidian.permission.entity.Permission;
import com.qidian.permission.util.PerResult;

import java.util.List;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/18 21:01
 * Description
 */
public interface PermissionService {
    PerResult selectAll();
    List<Permission> selectByParentId(Long parentId);
    PerResult queryByUserId(Long userId);
    PerResult settingUserPermission(Long userId,Long[] permissionIds);

}
